<?php
	$html->addCrumb('Manager','/manager/');
	$html->addCrumb('Kurs anlegen','/manager/courses/add');
	
	echo  $this->element('tasks',array('target'=>'/manager/courses'));
?>
<div class="title">Kurs anlegen</div>

<?php echo $this->element('flashMessage') ?>

<?php 
	echo $this->Form->create('Course',array('class'=>'form','action'=>'add'));
	
	echo $this->Form->input('course_name',array('label'=>'Name:*'));
	echo $this->Form->input('block_position',array('label'=>'Block:'));
	echo $this->Form->input('professor_id',array('label'=>'Professor:'));
	echo $this->Form->input('course_specialisation_id',array('label'=>'Spezialisierung:*'));
	echo $this->Form->input('profile_id',array('label'=>'Profil:'));
	echo $this->Form->input('study_branch_id',array('label'=>'Richtung:*'));
	
	echo '<div class="form_div_buttons">';
	echo '<input type="submit" name="Anlegen" value="Anlegen">';
	echo '<a href="'.URL_PREFIX.'/manager/"><button>Abbrechen</button></a>';
	echo '</div>';
	
	echo $this->Form->end();
?>